<?php
/**
 * DBGridConstant
 *
 * @author fsqijy
 */
class DBGridConstant {

     const FILTER_TYPE_VALUE = "value";

     const FILTER_TYPE_TEXT = "text";

     const FILTER_TYPE_SELECT = "select";

     const FILTER_TYPE_DATE = "date";

     const FILTER_TYPE_RADIO = "radio";
     
     const FILTER_TYPE_BETWEEN = "between";

     const OPERATOR_EQUAL = "equal";

     const OPERATOR_LIKE_L = "like_l";

     const OPERATOR_LIKE_R = "like_r";

     const OPERATOR_LIKE_A = "like_a";

     const OPERATOR_NOT_EQUAL = "not_equal";

     const OPERATOR_NULL = "null";

     const OPERATOR_NOT_NULL = "not_null";

     const OPERATOR_BETWEEN = "between";

     const OPERATOR_GREATER = "greater";

     const OPERATOR_LESS = "less";

     const OPERATOR_IN  = "in";
     
     const OPERATOR_IN_SQL  = "in_sql";

     const PAGE_RANGE = 4;

     const DEFAULT_ITEM_COUNT_PER_PAGE = 50;

     const CALL_SYSTEM_METHOD = 1;

     const CALL_SELF_METHOD = 2;

     const JOIN_TYPE_INNER = "innerjoin";

     const JOIN_TYPE_OUTER = "outerjoin";
}
